package com.asiainfo.order.feign;

import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

//调用第三方接口测试
@RefreshScope
@FeignClient(value = "Baidu-Server",url = "${baidu.url}")
public interface BaiduFeign {

    @GetMapping("/")
    public String getBaiduInfo();
}
